#include "environmentsetting.h"
#include "ui_environmentsetting.h"

EnvironmentSetting::EnvironmentSetting(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::EnvironmentSetting)
{
    ui->setupUi(this);
}

EnvironmentSetting::~EnvironmentSetting()
{
    delete ui;
}

int EnvironmentSetting::getEType()
{
    return ui->comboBox->currentIndex();
}

void EnvironmentSetting::setEType(int index)
{
    ui->comboBox->setCurrentIndex(index);
}
